package com.briup.cms.service;

import com.briup.cms.bean.BaseLog;
import com.briup.cms.exception.CustomerException;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 日志相关接口
 */
public interface IBaseLogService {
	/**
	 */
	PageInfo<BaseLog> pageQuery(int pageNum, int pageSize)throws CustomerException;

	PageInfo<BaseLog> pageQueryByUsername(int pageNum, int pageSize,String username)throws CustomerException;


//	List<BaseLog> findAll();
	void AddLogInfo(BaseLog baseLog);

	void deleteByPrimaryKey(Long logId);

    BaseLog selectByPrimaryKey(Long logId);

    void updateByPrimaryKey(BaseLog record);
}
